package com.dev118.jexample.mongodb;

import com.mongodb.DBCollection;

/**
 * 
 * @author Wenchuanke
 * 
 */
public abstract class AbstractDAO {

	protected final static String _ID = "_id";

	/** 集合 */
	protected DBCollection collection;

	public AbstractDAO(DBCollection collection) {
		super();
		this.collection = collection;
	}

	public DBCollection getCollection() {
		return collection;
	}

	public void setCollection(DBCollection collection) {
		this.collection = collection;
	}
}
